<div class="modal" ng-controller="ValidateModelCtrl" role="dialog" tabindex="-1">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <h2>{{'MODEL.VALIDATE.TITLE' | translate}}</h2>
      </div>
      <div class="modal-body">
        <div>
          <div class="alert alert-success" ng-show="model.errors.length == 0 && !status.loading" role="alert">No errors
            detected.
          </div>
          <div class="validationGrid" ng-show="errorGrid && !status.loading" ui-grid="errorGrid"
               ui-grid-selection></div>
        </div>
      </div>
      <div class="modal-footer">
        <button class="btn btn-primary" ng-click="$hide()" ng-disabled="status.loading" type="button">Close</button>
      </div>
    </div>
  </div>
</div>
